import requests
import app
class LoginApi:
    def __init__(self):
        self.url = app.base_url +'/api/sys/login'

    def login(self,login_data):
        return requests.post(url=self.url,json=login_data)